package com.example.demo.sys.dao;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 角色实体类
 */
public class SysRole implements Serializable {

    private Integer id;
    //角色名称
    private String name;
    //角色说明
    private String remark;
    //状态
    private String state;
    //更新日期
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date modifeTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Date getModifeTime() {
        return modifeTime;
    }

    public void setModifeTime(Date modifeTime) {
        this.modifeTime = modifeTime;
    }
}
